{include file="common/_meta" /}
<title></title>
</head>

<body>
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 首页
		<span class="c-gray en">&gt;</span>会员管理
		<span class="c-gray en">&gt;</span> 会员列表
		<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);"
		 title="刷新">
			<i class="Hui-iconfont">&#xe68f;</i>
		</a>
	</nav>
	<div class="page-container">
		<div class="text-c">
			<form class="Huiform" method="get" action="">
				状态：
				<span class="select-box inline">
					<select name="account_type" class="select">
						<option value="">全部</option>
						<option value="1">现金</option>
						<option value="2">金币</option>
					</select>
				</span>
				<input type="text" class="input-text" style="width:250px" placeholder="会员姓名、手机号" id="" name="keywords" value="{$Request.get.keywords|default=''}">

				<button type="submit" class="btn btn-success radius" id="" name="name">
					<i class="Hui-iconfont">&#xe665;</i> 搜索</button>
			</form>
		</div>
		<div class="cl pd-5 bg-1 bk-gray mt-20">
			<span class="r">共有数据：
				<strong>{$list->total()}</strong> 条</span>
		</div>
		<div class="mt-20">
			<table class="table table-border  table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="25">
							<input type="checkbox" name="" value="">
						</th>
						<th>编号</th>
						<th>会员姓名</th>
						<th>账户类型</th>
						<th>变动数目</th>
						<th>备注</th>
						<th>时间</th>
					</tr>
				</thead>
				<tbody>
					{volist name='list' id="vo"}
					<tr class="text-c">
						<td>
							<input type="checkbox" value="1" name="">
						</td>
						<td>{$i}</td>
						<td>{$vo.name}:{$vo.tel}</td>
						<td>
							{if condition="$vo['account_type'] == 1"} 分红账户 {elseif condition="$vo['account_type'] == 2" } 金币 {else /} 分销账户 {/if}
						</td>
						<td>{$vo.num}</td>
						<td>{$vo.note}</td>
						<td>{$vo.create_time}</td>
					</tr>
					{/volist}
				</tbody>
			</table>
			<div class="pages" style="margin:20px;float: right; ">{$list->render()}</div>
		</div>
	</div>
	{include file="common/_footer" /}
	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript">
		$('select[name="account_type"]').val({ $Request.get.account_type });
	</script>
</body>

</html>